package com.mlnx.device.service;

import com.mlnx.common.entity.Response;
import com.mlnx.device.pojo.dto.AutoDetectCmdDto;
import org.springframework.web.context.request.async.DeferredResult;

public interface XmBpDeviceService  {
    /**
     * 设置昼夜测量时间
     * @param autoDetectCmd
     * @return
     */
    DeferredResult<Response> setDetectTime( AutoDetectCmdDto autoDetectCmd);
    /**
     * 设置昼夜测量开启状态
     * @param autoDetectCmd
     * @return
     */
    DeferredResult<Response> setState( AutoDetectCmdDto autoDetectCmd);
    /**
     * 启动测量关闭测量
     * @param autoDetectCmd
     * @return
     */
    DeferredResult<Response> setDetect(AutoDetectCmdDto autoDetectCmd);
    /**
     * 矫正时间 清空记录 重启编程
     * @param autoDetectCmd
     * @return
     */
    DeferredResult<Response> setRectify( AutoDetectCmdDto autoDetectCmd);
    /**
     * 同步血压数据
     * @param autoDetectCmd
     * @return
     */
    DeferredResult<Response> synData(AutoDetectCmdDto autoDetectCmd);

}
